package com.ybwh.springboot2.satoken.mapper;


import com.gitee.fastmybatis.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import com.ybwh.springboot2.satoken.model.entity.SysRole;
import org.apache.ibatis.annotations.Param;

/**
* DAO
*
* @author Fan Beibei
* @date 2025-08-03 00:54:02
*/
public interface SysRoleMapper extends BaseMapper<SysRole> {

    /**
    * 分页查询
    *
    * @param param    查询参数
    * @param pageNum  页号
    * @param pageSize 页大小
    * @return
    */
    Page<SysRole> selectByPage(
        @Param("param") SysRole param,
        @Param("pageNum") int pageNum,
        @Param("pageSize") int pageSize);

}